import 'package:json_annotation/json_annotation.dart';
import 'package:body_measurement/models/user_info.dart';

part 'profile.g.dart';

@JsonSerializable()
class Profile {
  Profile();

  String? token;

  @JsonKey(name: 'user_info')
  UserInfo? userInfo;

  factory Profile.fromJson(Map<String, dynamic> json) => _$ProfileFromJson(json);
  Map<String, dynamic> toJson() => _$ProfileToJson(this);
}
